export type Method = 'GET' | 'POST' | 'PUT' | 'DELETE';
/**
 * 请求头
 */
export interface IRequestHeader {
  key: string;
  value: string;
}
/**
 * 请求参数
 *
 */
export interface IRequestParameter {
  key: string;
  value: string;
}
export interface IPathVariable {
  key: string;
  value: string;
}

/**
 * 接口调试参数
 */
export interface IRunParameter {
  requestId: string;
  protocol: string;
  contextPath: string;
  domain: string;
  port: number;
  path: string;
  method: Method;
  requestHeaderList?: IRequestHeader[];
  requestParameterList?: IRequestParameter[];
  pathVariableList?: IPathVariable[];
  requestBody?: string;
}
